{config_load file="$language/lang.conf" section="index"}
<!-- Шапка -->
<body id="body">
<div class="main">

  <div id="header">
		<div id="login"></div>
 <div class="logo">
				<a href="{$mainpage}"><img src="{$tpl_path}img/logo.gif" alt=""></a>
    </div>
		
		<div class="right"></div>
		<div class="header-right">
			<!-- Меню юзера -->
			<div class="user-menu">
				{$box_LOGIN}
				{if $account}{if $smarty.session.customer_id}
				<!-- Для авторизированного -->
				<h3>{#templatica_index_hello#}, {php}echo $_SESSION['customer_first_name'];{/php}</h3>
				<ul class="menu-box">
					<li><a href="account.php" title="{#templatica_index_account_title#}">{#templatica_index_account#}</a></li>
					<li><a href="address_book.php" title="{#templatica_index_address_title#}">{#templatica_index_address#}</a></li>
					<li><a href="account_password.php" title="{#templatica_index_pass_title#}">{#templatica_index_pass#}</a></li>
				</ul>
				<ul class="menu-box">
					<li><a href="account_edit.php" title="{#templatica_index_profile_title#}">{#templatica_index_profile#}</a></li>
					<li><a href="account_history.php" title="{#templatica_index_orders_title#}">{#templatica_index_orders#}</a></li>
					<li><a href="logoff.php" title="{#templatica_index_loguot_title#}">{#templatica_index_logout#}</a></li>
				</ul>
				<!-- #Для авторизированного -->
				{/if}{/if}
		  </div>
			<!-- #Меню юзера -->
	  </div>


<div class="currency">
						<div class="moduletable">
						  <!-- Currency Selector Module -->
</div>
	
	  </div>

		<div id="topmenu">
			<a class="fright" href="{$mainpage}"><img src="{$tpl_path}img/home-image.gif" alt="{#link_account#}"></a>
			<ul class="menu-nav"><li class="item29"><a href="{$mainpage}"><span>{#text_mainpage#}</span></a></li>
            {if $account}{if $smarty.session.customer_id}
            <li class="item28"><a href="{$account}"><span>{#link_account#}</span></a></li>
            {/if}{/if}
            <li class="item53"><a href="{$cart}">{#link_cart#}</span></a></li>
            <li class="item18"><a href="{$price_list}">{#price_list#}</span></a></li>
            <li class="item30"><a href="{$checkout}">{#link_checkout#}</span></a></li>
            
            </ul>
		</div>
        <div class="row">
          <div class="cart">
            <div class="moduletable">
              <div class="vmCartModule">
                <div class="shoppingcart"> <a href="{$cart}">Корзина</a><br>
                  {$box_CART}</div>
              </div>
            </div>
          </div>
          <div id="search">
            <div class="moduletable">
               <form id="quick_find" action="/advanced_search_result.php" method="get">
                <div class="search">
                  <input name="keywords" id="quick_find" onKeyUp="ajaxQuickFindUp(this);" maxlength="20" alt="Поиск" class="inputbox" size="20" value="Поиск..." onBlur="if(this.value=='') this.value='Поиск...';" onFocus="if(this.value=='Поиск...') this.value='';" type="text">
                  <input value="Поиск" class="button" src="{$tpl_path}img/searchButton.png" onClick="this.form.searchword.focus();" type="image">
                </div>
                </form>
            </div>
          </div>
        </div>
  </div>
	<div id="content">
		
			<div class="clear">
			
								<div id="left">
{$box_vote}
{$uni_box}
{$box_CATEGORIES}
{$box_ADMIN}
{$box_CONTENT}
{$box_ADD_QUICKIE}
{$box_LAST_VIEWED}
{$box_REVIEWS}
{$box_SPECIALS}
{$box_FEATURED}
{$box_LATESTNEWS}
{$box_ARTICLES}
{$box_ARTICLESNEW}
{$box_AUTHORS}
{$NEBOX_CALLBACK}
{$NEBOX_CALLBACK_ADMIN}			  </div>


								
			  <div class="container">
<div class="karusel">{$box_anons}</div>
<div class="tie">{$main_content}{$text}</div>								
													
<div class="banner"><center>{$BANNER}</center>		</div>					
				
			</div>
		</div>
	
										
				</div>
	
<div class="karusel">{$goods_carousello_box}</div></div>


<div class="footer">
		
        <div class="counts"><div class="copyright"><a href="http://m-martin.ru" target="_blank"><b>© M-martin.ru</b></a>	</div>
      <ul class="reset">
        <li><img src="{$tpl_path}images/count.png" alt="count 88x31px" /></li>
        <li><img src="{$tpl_path}images/count.png" alt="count 88x31px" /></li>
        <li><img src="{$tpl_path}images/count.png" alt="count 88x31px" /></li>
      </ul>
    </div>         

</div>

